package app.auto.runner.base.utility.base;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.widget.Toast;

import app.auto.runner.base.ActivityStack;

/**
 * Created by hp on 2018/3/27.
 */

public class Toastial {

    @SuppressLint("WrongConstant")
    public static void quick(String txt, Activity aty) {
        Toast.makeText(aty, txt, Toast.LENGTH_SHORT).show();
    }

    public static void quick(String txt) {
        quick(txt, ActivityStack.publicactivity);
    }
}
